﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="SearchAndSchool.aspx.cs" Inherits="SchoolManagement_SearchAndDeleteSchool" %>
<%@ Import Namespace="VideoClassLibrary.Extension" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <link href="../Css/ys.css" rel="stylesheet" type="text/css" />
  <script src="../Js/jquery-1.4.2.min.js" type="text/javascript"></script>
      <script src="../Js/tablehover.js" type="text/javascript"></script>
    <script language="javascript" src="../My97DatePicker/WdatePicker.js"></script>

</head>
<body>
   <form id="form1" runat="server">
    <div style="margin-left: 5px">
        <div class="title">
            <div class="titleLeft">
               查看学校信息</div>
        </div>

  <div id="search" class="search2">
                <table cellspacing="1" cellpadding="3" border="0">
                    <tr>
                        <td class="noWrapTD"> 按学校名称查找</td><td><asp:TextBox ID="TxtCheckName" runat="server" Width="100" CssClass="inp1" ></asp:TextBox></td><td><asp:Button ID="Seacher" runat="server" CssClass="button"  Text="查找" onclick="Seacher_Click" /></td><td>&nbsp; &nbsp;</td>
           <td> <asp:Button ID="Button1" runat="server" onclick="Button1_Click"  CssClass="button" Text="添加学校"  /></td>
   </tr></table></div>
   <br class="sp3px" />
     <table class="tab_alt" style="width: 100%" cellpadding="0" cellspacing="0">
       <tr class="header">
       <td class="noWrapTD" style="width:60px">操作</td>
    <td  class="noWrapTD">学校名称</td>
    <td  class="noWrapTD" >学校英文名称</td>
    <td class="noWrapTD">学校类型</td>
    <td  class="noWrapTD">学校电话</td>
    <td  class="noWrapTD">学校地址</td>
    <td  class="noWrapTD">学校邮编</td>
    <td  class="noWrapTD">学校所在城市</td>
    <td  class="noWrapTD">学校所在省份</td>
    <td  class="noWrapTD">学校管理者姓名</td>
    <td  class="noWrapTD">学校管理者电话</td>
    <td  class="noWrapTD">学校管理者邮箱</td>
    </tr>
        <asp:Repeater ID="rptCoursewareList" runat="server" >
        <ItemTemplate>
         <tr class="<%# Container.ItemIndex%2==1?"odd":"" %>">

        <td class="ta2 noWrapTD" style="width:60px"><asp:LinkButton CssClass="button2" ID="btnUpdate" runat="server" CommandArgument='<%#Eval("ID")%>' OnCommand="btnUpdate_Click" Text="修改信息"></asp:LinkButton>
              </td>
         <td class="ta2" width="120"><a href="http://thehante2.iplink.com.cn/?schoolId=<%#Eval("ID") %>" target="_blank"> <%#Eval("VS_name")%></a>&nbsp;</td>
          <td class="ta2"><%#Eval("VS_englishname")%>&nbsp;</td>
           <td class="ta2"><%#Eval("VS_type")%>&nbsp;</td>
            <td class="ta2"><a title="电话：<%#Eval("VS_phone") %>"><%# StringUtils.getLimitLengthString(Eval("VS_phone").ToString(),11,"...")%>&nbsp;</td>
             <td class="ta2" ><a title="地址：<%#Eval("VS_address") %>"> <%# StringUtils.getLimitLengthString(Eval("VS_address").ToString(),10,"...")%></a></td>
              <td class="ta2"><%#Eval("VS_zipcode")%>&nbsp;</td>
               <td class="ta2"><%#Eval("VS_city")%>&nbsp;</td>
                <td class="ta2"><%#Eval("VS_province")%>&nbsp;</td>
                 <td class="ta2"><%#Eval("VS_relanname")%>&nbsp;</td>
                  <td class="ta2"><%#Eval("VS_relanamephone")%>&nbsp;</td>
                  <td class="ta2"><%#Eval("VS_relanameemail")%>&nbsp;</td>
        </tr>
        </ItemTemplate>
        </asp:Repeater>
</table>
<br class="sp3px" />
 <webdiyer:AspNetPager ID="pager" runat="server" 
                onpagechanged="pager_PageChanged"  CssClass="anpager" CurrentPageButtonClass="cpb"  PageSize="20" >
            </webdiyer:AspNetPager>
  </div>
    </form>
</body>
</html>
